package com.liangzi.service_core.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 患者表
 * </p>
 *
 * @author zhj
 * @since 2021-12-13
 */


@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="VisitPatienter对象", description="患者表")
public class VisitPatienter implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "患者ID")
      @TableId(value = "patienter_id")
    private String patienterId;

    @ApiModelProperty(value = "就诊卡ID")
    private String medicalCardId;

    @ApiModelProperty(value = "档案卡ID")
    private String recordCardId;

    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    @ApiModelProperty(value = "性别 1 男 2 女")
    private Boolean patientGender;

    @ApiModelProperty(value = "患者出生年月日")
    private String patientBirthday;

    @ApiModelProperty(value = "手机号")
    @TableField(value = "patienter_phone")
    private String patienterPhone;

    @ApiModelProperty(value = "身份证号")
    @TableField(value = "patienter_idcard")
    private String patienterIdcard;


    @ApiModelProperty(value = "当前是否为默认就诊人  1 是 0否")
    @TableField(value = "is_current_patienter")
    private Integer currentPatienter;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "备注信息")
    private String remark;


}
